﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars.Docking2010.Views;
using DevExpress.XtraEditors;

namespace FileManager_Client.PresentationLayer.NewUi
{
    public partial class XtraForm1 : DevExpress.XtraEditors.XtraForm
    {
        public XtraForm1()
        {
            InitializeComponent();
            LookAndFeel.SetSkinStyle("Lilian");
            splitContainerControl1.Panel2.Controls.Add(new XtraUserControl1());
        }
        bool lockCheck = false;
        private void cbOverview_CheckedChanged(object sender, EventArgs e)
        {
            if (lockCheck) return;
            lockCheck = true;
            Cursor.Current = Cursors.WaitCursor;
            try
            {
                CheckButton button = sender as CheckButton;
                //cbOverview.Checked = checkButton1.Checked = checkButton2.Checked = checkButton3.Checked = false;
                button.Checked = true;
            }
            finally
            {
                lockCheck = false;
                Cursor.Current = Cursors.Default;
            }
        }

    }
}